package com.yfp.machine.service;

import com.yfp.common.core.domain.R;
import com.yfp.machine.domain.MachineTemp;
import com.yfp.machine.domain.dto.FrequencyReportDTO;

import java.util.Date;
import java.util.List;

/**
 * @Description: 设备温度记录
 * 
 * @CreateDate: 2024/9/26 10:32
 * @UpdateUser: 
 * @UpdateDate: 2024/9/26 10:32
 * @UpdateRemark: 暂无修改
 * @Version: 1.0
 */
public interface MachineTempService {
    List<MachineTemp> findByMachineId(String machineId, Date startDate, Date endDate);

    /**
     * 设置温度上传频率
     * @param frequencyReportDTO
     */
    void frequencyReport(FrequencyReportDTO frequencyReportDTO);

    /**
     * 获取上传频率
     * @param machineId
     * @return
     */
    Integer getFrequency(String machineId);
}
